/* 搜索栏 */
header{
    width: 10.8rem;
    height: 1.44rem;
    line-height: 1.44rem;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0rem;
    z-index: 100;
    form{
        display: flex;
        margin: auto;
        position: relative;
        input{
            width: 9.82rem;
            height: .89rem;
            outline: none;
            border: none;
            box-sizing: border-box;
            padding-left: 1.01rem;
            background-color: #f7f7f7;
            border-radius: .43rem;
            /* margin-right: .23rem; */
            &::-webkit-input-placeholder{
                color: #afbac1;
            }
        }
        >img:nth-of-type(1){
            width: .59rem;
            height: .59rem;
            position: absolute;
            top: .14rem;
            left: .29rem;
            transform: scale(1)
        }
    }
}
/* 中间内容 */
main{
    display: flex;
    height: calc(100vh - 3.2rem);
    width: 10.8rem;
    /* 中间左边 */
    .main-left-container{
        width: 2.74rem;
        font-size: .35rem;
        /* height: 23.62rem; */
        /* height: 17.71rem; */
        height: 100%;
        overflow-y: scroll;
        &::-webkit-scrollbar{
            display: none;
        }
        ul{
            li{
                width: 2.28rem;
                height: 1.35rem;
                display: flex;
                align-items: center;
                justify-content: center;
                a{
                    color: #666666;
                    display: inline-block;
                    width: 2.28rem;
                    text-align: center;
                    box-sizing: border-box;
                }
            }
            li:nth-child(1){
                a{
                    border-left: 2px solid #ff5934;
                    font-weight: bold;
                    color: black;
                }
            }
        }
    }
    /* 中间右边 */
    .main-right-container{
        width: 7.55rem;
        /* height: 17.71rem; */
        height: 100%;
        overflow-y: scroll;
        /* &::-webkit-scrollbar{
            display: none;
        } */
        .top-pic{
            img{
                width: 7.32rem;
                height: 2.19rem;
            }
        }
        .title{
            width: 7.55rem;
            height: .92rem;
            margin: .43rem 0rem 0rem;
            font-size: .4rem;
            color: #333333;
            font-weight: bold;
            line-height: .92rem;
        }
        .product{
            a{
                .product-item{
                    width: 7.55rem;
                    height: 2.16rem;
                    background-color: #f8f8f8;
                    display: flex;
                    align-items: center;
                    margin-top: .23rem;
                    border-radius: .23rem;
                    .pic{
                        display: flex;
                        align-items: center;
                        img{
                            width: 1.99rem;
                            height: 1.99rem;
                        }
                    }
                    .price{
                        color: #333333;
                        h2{
                            font-size: .4rem;
                            font-weight: bold;
                        }
                        h3{
                            font-size: .43rem;
                            font-weight: bold;
                            span{
                                font-size: .35rem;
                            }
                        }
                    }
                }
            }
            
        }
        .classify{
            .classify-item{
                width: 7.55rem;
                display: flex;
                justify-content: space-evenly;
                margin-top: .43rem;
                a{
                    .small-pic{
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        img{
                            width: 1.5rem;
                            height: 1.5rem;
                        }
                        .name{
                            font-size: .35rem;
                            width: 2.51rem;
                            height: .37rem;
                            text-align: center;
                            margin-top: .29rem;
                        }
                    }
                }
            }
        }
    }
}
/* 底部导航 */
footer{
    width: 10.8rem;
    height: 1.5rem;
    display: flex;
    justify-content: space-evenly;
    background-color: #ffffff;
    align-items: center;
    position: fixed;
    bottom: 0rem;
    z-index: 100;
    box-shadow: 0px -0.06rem .14rem rgba($color: #000000, $alpha: 0.2);
    .nav-bottom{
        width: 2.07rem;
        height: 1.12rem;
        display: flex;
        justify-content: center;
        a{
            display: flex;
            flex-direction: column;
            align-items: center;
            img{
                width: .58rem;
                height: .58rem;
            }
            h1{
                font-size: .35rem;
            }
        }
        
    }
    .nav-bottom:nth-child(2){
        a{
            h1{
                color: #ff7517;
            }
        }
    }
}